<template>
  <div class="homelist">
    <ul >
    <h4>
      <h6>
        <span>{{text}}</span>
        <span
          >{{date}}<i class="iconfont icon-yanjing"></i>{{readcount}}
        </span>
      </h6>
      <img :src="imgurl" alt="">
    </h4>
    </ul>
  </div>
</template>

<script>

export default {
  props: [
   
    "text",
    "readcount",
    "imgurl",
    "date"
  ],
  components: {},
  data() {
    return {
      typeObj: {
        t1: "时令好文",
        t2: "调养妙方",
      },
      arr:[]
    };
  },
  mounted(){
// console.log(this.imgurl);
  },
  computed:{

  }
};
</script>

<style scoped>
.grey {
  height: 0.1rem;
  background-color: rgb(247, 243, 243);
}
.top {
  font-weight: 700;
  height: 0.4rem;
  border-bottom: 0.01rem solid #999;
  line-height: 0.4rem;
}
.top p {
  float: left;
}
.top p:nth-child(1) {
  color: green;
  height: 0.16rem;
  border-left: 0.03rem solid green;
  margin: 0.12rem 0.1rem;
}
.top span {
  float: right;
  color: green;
  margin-right: 0.1rem;
}
h4 {
  height: 1.5rem;
  border-bottom: 0.01rem solid #999;
}
h4 img {
  float: right;
  width: 0.85rem;
  height: 0.85rem;
  margin: 0.3rem 0.1rem 0 0;
}
h6 {
  float: left;
  width: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-left: 0.2rem;
}
h6 span:nth-child(1) {
  font-size: 0.2rem;
}
h6 span:nth-child(2) {
  font-size: 0.14rem;
  color: #999;
}
h6 span:nth-child(2) i {
  padding: 0 0.05rem 0 0.2rem;
}
</style>